interface ResponseData {
    code: number;
    message: string;
    ok: boolean;
}
interface SkuAttrValueList {
    attrId: number|string;
    valueId: number|string;
    id?:number|string;
    valueName?:string
}
interface SkuSaleAttrValueList {
    saleAttrId: number|string;
    saleAttrValueId: number|string;
    id?:number|string;
    saleAttrValueName:string;
}
export interface Sku{
    id?:number,
    category3Id: number|string;
    spuId: number|string;
    tmId: number|string;
    skuName: string;
    price: number|string;
    weight: string|number;
    skuDesc: string;
    skuAttrValueList: SkuAttrValueList[];
    skuSaleAttrValueList: SkuSaleAttrValueList[];
    skuDefaultImg: string;
    isSale: number;
    skuImageList?:any[]
}
export interface SkuData {
    records: Sku[];
    total: number;
    size: number;
    current: number;
    orders: any[];
    optimizeCountSql: boolean;
    hitCount: boolean;
    countId?: any;
    maxLimit?: any;
    searchCount: boolean;
    pages: number;
}
//sku数据类型
export interface SkuResponseData extends ResponseData{
    data: SkuData;
}
// 详情接口的数据类型
export interface SkuInfoData extends ResponseData{
    data:Sku
}
